{extends file="$templateDir/layout/member/layout.tpl"}
{block name=body}
  <div class="container">
      {include file="$templateDir/layout/member/left.tpl"}
      <div class="main_rigth">
			<div class="main_cent">
				<div class="main_title">
					<div class="site_name">{$site_name}</div>
					<div class="cardno">卡号：<span>{$cardno}</span></div>
				</div>
				<div class="main_from">
					<table>
						<tr>
							<td>编号</td>
							<td>卡号</td>
							<td>操作</td>
							<td>时间</td>
							<td>状态</td>
						</tr>
						{foreach from=$logdata item=log key=index}
						<tr>
							<td>{$log->id}</td>
							<td>{$log->card_no}</td>
							<td>{$log->type}</td>
							<td>{$log->time}</td>
							<td class="status">{$log->result}</td>
						</tr>
						{/foreach}
					</table>
				</div>
				<div class="main_bnt">
					<form action="index.php?go=softpos.api.loglist" method="post" id="frm">
						<input type="hidden" id="cardno" name="cardno" value="{$cardno}">
						<input type="hidden" id="type" name="type" value="{$type}">
						<input type="hidden" id="sdate" name="sdate" value="{$sdate}">
						<input type="hidden" id="edate" name="edate" value="{$edate}">
						<input type="hidden" id="page" name="page" value="">
					</form>
					<ul class="page">
						<li class="up" page="1">首页</li>
						{if $page>1}
							<li class="up" page="{$page-1}">上页</li>
						{else}
							<li class="up" page="1">上页</li>
						{/if}
						{if $page<$sum}
							<li class="up" page="{$page+1}">下页</li>
						{else}
							<li class="up" page="{$sum}">下页</li>
						{/if}
						<li class="up" page="{$sum}">未页</li>
						<li>
							<span class="page_text">共</span>
							<span class="page_num">{$sum}</span>
							<span class="page_text">页</span>
							<span class="page_text">第</span>
							<span class="page_num">{$page}</span>
							<span class="page_text">页</span>
						</li>
					</ul>
				</div>
				</div>
			</div>
      </div>
  </div>
{/block}
